/*
Realistic Unit Modification v4.0 Dialog 
v4.0.0.1 [ALPHA]
Concept & Development by Draper & Raps | [VRC]
*/


// IDD and IDC

#define RUM_FXD_STAT_IDD 1033

// Main Dialog

class RUM_FXD_STAT: RUM_FXD {
	idd = RUM_FXD_STAT_IDD;
	class controls {
		class RUM_BttnClose: RUM_RscButton {
			idc = -1;
			colorText[] = { 1, 1, 1, 0 };
			colorFocused[] = { 1, 1, 1, 0 }; 
			colorDisabled[] = { 1, 1, 1, 0 }; 
			colorBackground[] = { 1, 1, 1, 0 };
			colorBackgroundDisabled[] = { 1, 1, 1, 0 }; 
			colorBackgroundActive[] = { 1, 1, 1, 0 }; 
			colorSelectBackground[] = {0, 0, 0, 1};
			text = "E";
			x = 0.605;
			y = 0.68;
			w = 0.05;
			h = 0.05;
			action = "closeDialog 0";
		};

		class RUM_BttnFXD: RUM_BttnClose {
			idc = RUM_BttnArty_IDC;
			text = "C";
			x = 0.345;
			y = 0.68;
			w = 0.05;
			h = 0.05;
			action = "[] execFSM (RUM_PATH+'Fxd\RUM_FXD.fsm')";
		};

		class RUM_BttnStrike: RUM_RscToolbox {
			x = 0.37;
  			y = 0.52;
  			w = 0.26;
  			h = 0.03;

		  	rows = 1;
  			columns = 3;
  			strings[] = {"Strike","RTB","Shift"};
 			values[] = {1,0,0};

  			onToolBoxSelChanged = "_this call RUM_BttnStrike";
		};

		class RUM_BttnStation1: RUM_ActText {
			x = 0.37;
  			y = 0.10;
  			w = 0.13;
  			h = 0.03;

			action = "RUM_FXD_idleorstation = true;call RUM_Stationed";
			text = "IDLE";
			default = false;
		};

		class RUM_BttnStation2: RUM_ActText {
			x = 0.50;
  			y = 0.10;
  			w = 0.13;
  			h = 0.03;

			action = "RUM_FXD_idleorstation = false;call RUM_Stationed";
			text = "STATIONED";
			default = false;
		};

	// Fxd ---------------------------------

		class RUM_ListFXDT: RUM_RscText {
			x = 0.37;
			y = 0.14;
			w = 0.26;
			h = 0.03;
			text="SELECT 'STATIONED' AIRCRAFT";
		};

		class RUM_ListFXD: RUM_RscListBox {
			idc = RUM_ListFXD_IDC;
			x = 0.37;
			y = 0.17;
			w = 0.26;
			h = 0.17;
		};

		class RUM_FXDMIST: RUM_RscText {
			x = 0.37;
			y = 0.34;
			w = 0.26;
			h = 0.03;
			text="SELECT MISSION TYPE";
		};

		class RUM_FXDMISS: RUM_RscComboBox {
			idc = RUM_FXDMISS_IDC;
			x = 0.37;
			y = 0.37;
			w = 0.26;
			h = 0.03;
		};

		class RUM_TypeFXDT: RUM_RscText {
			x = 0.37;
			y = 0.49;
			w = 0.26;
			h = 0.03;
			text="SELECT ORDERS";
		};

		class RUM_TypeFXDM: RUM_RscText {
			x = 0.37;
			y = 0.40;
			w = 0.26;
			h = 0.03;
			text="SELECT MUNITIONS";
		};
		
		class RUM_TypeFXDM1: RUM_RscComboBox {
			idc = RUM_TypeFXDM1_IDC;
			x = 0.37;
			y = 0.43;
			w = 0.08667;
			h = 0.03;
		};

		class RUM_TypeFXDM3: RUM_RscComboBox {
			idc = RUM_TypeFXDM3_IDC;
			x = 0.45667;
			y = 0.43;
			w = 0.08667;
			h = 0.03;
		};

		class RUM_TypeFXDM5: RUM_RscComboBox {
			idc = RUM_TypeFXDM5_IDC;
			x = 0.54334;
			y = 0.43;
			w = 0.08667;
			h = 0.03;
		};

		class RUM_TypeFXDM2: RUM_RscComboBox {
			idc = RUM_TypeFXDM2_IDC;
			x = 0.37;
			y = 0.46;
			w = 0.08667;
			h = 0.03;
		};

		class RUM_TypeFXDM4: RUM_RscComboBox {
			idc = RUM_TypeFXDM4_IDC;
			x = 0.45667;
			y = 0.46;
			w = 0.08667;
			h = 0.03;
		};

		class RUM_TypeFXDM6: RUM_RscComboBox {
			idc = RUM_TypeFXDM6_IDC;
			x = 0.54334;
			y = 0.46;
			w = 0.08667;
			h = 0.03;
		};
	};
};